package com.peng.multimodule;

import com.alibaba.android.arouter.launcher.ARouter;

/**
 * Created by M_genius on 2018/3/2 11:51.
 * 描述：
 */

public class ModuleRouteService {

    private static final String TAG = "ModuleRouteService";

    public static String getUserName(String userId) {

        IChatModuleService chatModuleService =
                ARouter.getInstance().navigation(IChatModuleService.class);
        if (chatModuleService != null) {
            return chatModuleService.getUserName(userId);
        }
        return "";
    }
}
